package com.csii.activiti.server.core.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.csii.activiti.server.core.entity.db.ActFlowNodeKeyEntity;

import java.util.List;

public interface FlowNodeKeyService  extends IService<ActFlowNodeKeyEntity> {
    /**
     * 查询全部秘钥
     * @return
     */
    List<ActFlowNodeKeyEntity> queryFlowNodeKeyList();

    /**
     * 编辑秘钥
     * @param entity
     * @return
     */
    void editActFlowNodeKey(ActFlowNodeKeyEntity entity);

    /**
     * 添加秘钥
     * @param entity
     * @return
     */
    void addActFlowNodeKey(ActFlowNodeKeyEntity entity);

    /**
     * 删除秘钥
     * @param id
     * @return
     */
    void deleteActFlowNodeKey(String id);


}
